<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>注册失败，将跳转至首页</title>
		<style type="text/css">
			#fail{
				font-family: cursive;
				font-size: 30px;
				margin-top: 75px;
				margin-left: 90px;
			}
			#fail-time{
				color: red;
			}
		</style>
		<script src="js/jquery-1.8.3.js" type="text/javascript"></script>
		<script type="text/javascript">
			var time = 5;
			$(function(){
				setTimeout(function(){
					window.location.href="index.html";
				},5000);
				freshTime();
			});
			function freshTime(){
				$("#fail-time").empty().append(time);
				time = time -1 ;
				setTimeout(function(){
					freshTime()
				},1000);
			}
		</script>
	</head>
	<body>
		<div id="fail">
			操作失败，将在<span id="fail-time">5</span>秒后返回至首页...
		</div>
	</body>
</html>
